isAttachedToWindow

open fun isAttachedToWindow(@NonNull view: @NonNull View): Boolean(source)

Deprecated

Call isAttachedToWindow directly.

Returns true if the provided view is currently attached to a window.